import request from '@/utils/request'

export const login = data => {
  return request.post('/sys/login', data)
}

export const getUserInfo = () => {
  return request.get('/sys/profile')
}

export const updatePassword = data => {
  return request.put('/sys/user/updatePass', data)
}
